<%-- 
    Document   : CreatRoom
    Created on : May 14, 2013, 10:52:06 AM
    Author     : aptech
--%>
<%@taglib  prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
<!--<form action="<%= request.getContextPath()%>/index.jsp" method="get">-->

<!--        <form action="<%= request.getContextPath()%>/FileUploadServlet" method="post" enctype="multipart/form-data" name="form1" >-->
        <!--<form action="<%= request.getContextPath()%>/ServletController?action=uploadimage&result=pending" method="post" enctype="multipart/form-data" name="form1" >-->
           <!--<form action="<%= request.getContextPath()%>/ServletController?action=createroom&result=pending" method="post" enctype="multipart/form-data" name="form1" >-->
        <a href="UploadImage.jsp">Attach images...</a>
        <c:if test="${mode != null}">
        <form action="<%= request.getContextPath()%>/CreateRoom?mode=insert" method="get" name="frmInsert">
                Room type: 
                <input type="text" name="typeid" />
                Room No 
                <input type="text" name="roomno" />
                Floor: <input type="text" name="floor" />
                Beds: <input type="text" name="beds" />
                <input type="submit" value="Submit" />
            </form>
        </c:if>
<!--        <form action="CreatRoom&mode=upload" method="get" enctype="multipart/form-data" name="frmUpload">
              Choose image: <input type="file" name="file1" /><br />
            Choose image: <input type="file" name="file2" /><br />
            Choose image: <input type="file" name="file3" /><br />
            Choose image: <input type="file" name="file4" /><br />
            Choose image: <input type="file" name="file4" /><br />
            <input type="submit" value="GO" />
        </form>-->

    </body>

</html>
